package com.yz.demo.service;

import com.retrofit.starter.annotation.RetrofitClient;
import com.yz.demo.config.MyConverterFactory;
import com.yz.demo.model.Repos;
import retrofit2.Call;
import retrofit2.http.*;

@RetrofitClient(url = "http://127.0.0.1:8111", converterFactory = {MyConverterFactory.class})
public interface DemoConverterService {


    @POST(value = "/test/1")
    Call<Repos> test(@Body Repos repos);

}
